package com.ruoyi.loan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ruoyi.loan.dto.PoorApplyDto;
import com.ruoyi.loan.dto.SelectPoorApplyDto;
import com.ruoyi.loan.entity.PoorApplyRecord;
import com.ruoyi.loan.vo.SelectPoorApplyVo;


/**
 * @Author lin
 * @Date 2022/4/5 0:17
 */
public interface PoorApplyService extends IService<PoorApplyRecord> {

    /**
     * 审核学生贫困状态
     * @param dto 审核信息
     */
    void updatePoorApply(PoorApplyDto dto);

    /**
     * 获取贫困申请列表
     * @param dto 条件信息
     * @return
     */
    PageInfo<SelectPoorApplyVo> selectPoorApplyList(SelectPoorApplyDto dto);

}
